package com.jjx.trainingapi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jjx.trainingapi.entity.po.DcUser;
import com.jjx.trainingapi.entity.vo.UserInfoVo;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author LoveHuahua
 * @date 2022年05月24日 1:10
 * @description believe in yourself
 */
@Mapper
public interface DcUserMapper extends BaseMapper<DcUser> {

    /**
     * 根据用户id查询用户信息
     * @param userId
     * @return
     */
    UserInfoVo getUserInfo(int userId);
}